package pro.cherish.knowledgenotifycore.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.util.HashMap;
import java.util.Map;

@Data
@Configuration
@PropertySource(value = "classpath:application-notify.properties")
@ConfigurationProperties(prefix = "cherishmall.notify.wx")
public  class Wx {
    private boolean enable;
    private Map<String,String> template =new HashMap<>();
}